package entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 路况
 * </p>
 *
 * @author ZL
 * @since 2022-11-12
 */
@Getter
@Setter
@TableName("road_condition")
public class Condition implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 发布人ID
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 路况标题
     */
    @TableField("road_condition_headline")
    private String roadConditionHeadline;

    /**
     * 路况内容
     */
    @TableField("road_condition_remark")
    private String roadConditionRemark;

    /**
     * 路况图片
     */
    @TableField("road_condition_pricture")
    private String roadConditionPricture;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;

    /**
     * 删除标识
     */
    @TableField("delete_flag")
    private String deleteFlag;


}
